package com.home_school_platform.entity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 成绩表
 * @authoor Bilysen
 * @date 2021/3/11 - 8:47
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Achievement implements Serializable {

    //成绩表中id编号
    private Integer id;

    //成绩标题id，外键用于连接achievement_title表
    private Integer titleId;

    //学校id,用于外键
    private Integer createSchoolId;

    //科目
    private String type;

    //班级排名
    private String ranking;

    //学科分数
    private String fraction;

    //班级编号，用作于外键连接班级表
    private Integer teamId;

    //学生编号,用作于外键连接学生表
    private Integer studentId;
}
